package cn.kgc.Adjudicative.service;

import cn.kgc.Adjudicative.entity.DPermission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Set;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sun
 * @since 2023-01-05
 */
public interface DPermissionService extends IService<DPermission> {
    /**
     * 通过用户名获取所有权限码
     * @param username
     * @return
     */
    Set<String> getAllPermissionByUsername(String username);
}
